import request from '@/utils/request'

// 查询运输机场附件列表
export function listAedattach(query) {
  return request({
    url: '/baseinfo/aedattach/list',
    method: 'get',
    params: query
  })
}

// 查询运输机场附件详细
export function getAedattach(attachid) {
  return request({
    url: '/baseinfo/aedattach/' + attachid,
    method: 'get'
  })
}

// 新增运输机场附件
export function addAedattach(data) {
  return request({
    url: '/baseinfo/aedattach',
    method: 'post',
    data: data
  })
}

// 修改运输机场附件
export function updateAedattach(data) {
  return request({
    url: '/baseinfo/aedattach',
    method: 'put',
    data: data
  })
}

// 删除运输机场附件
export function delAedattach(attachid) {
  return request({
    url: '/baseinfo/aedattach/' + attachid,
    method: 'delete'
  })
}
